home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / usr_-_Usr_Files / INCLUDE / TERMCAP.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  2KB  |  53 lines

  1. /* Declarations for termcap library.
  2.    Copyright (C) 1991, 1992 Free Software Foundation, Inc.
  3.  
  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 2, or (at your option)
  7.    any later version.
  8.  
  9.    This program is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU General Public License for more details.
  13.  
  14.    You should have received a copy of the GNU General Public License
  15.    along with this program; if not, write to the Free Software
  16.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18. #ifndef _TERMCAP_H
  19. #define _TERMCAP_H 1
  20.  
  21. #include <features.h>
  22. #include <termios.h>
  23. #include <sys/types.h>
  24.  
  25. extern char PC;
  26. extern char *UP;
  27. extern char *BC;
  28.  
  29. #ifdef __linux__
  30. extern speed_t ospeed;
  31. #else
  32. extern short ospeed;
  33. #endif
  34.  
  35. __BEGIN_DECLS
  36.  
  37. typedef int (*outfuntype) __P((int));
  38.  
  39. extern int tgetent __P((void *__buffer, __const char *__termtype));
  40. extern int tgetflag __P((__const char *__name));
  41. extern int tgetnum __P((__const char *__name));
  42. extern char *tgetstr __P((__const char *__name, char **__area));
  43. extern char *tgoto __P((__const char *__cstring, int __hpos,
  44.     int __vpos));
  45. extern char *tparam __P((__const char *__ctlstring, void *__buffer,
  46.     int __size, ...));
  47. extern void tputs __P((__const char *__string, int __nlines,
  48.     int (*) __P((int))));
  49.  
  50. __END_DECLS
  51.  
  52. #endif /* not _TERMCAP_H */
  53.